/**
 * 
 */

var res_width = $(window).width();
var res_height = $(window).height() - $("#mainmenu").outerHeight(true) - $("#header").outerHeight(true);
var res_post_height = res_height - $("#search-form").outerHeight(true) - 40;
var map_height_position = $("#mainmenu").outerHeight(true) + $("#header").outerHeight(true);
$.cookie('screen_width', res_width);
$.cookie('screen_height', res_height);
$.cookie('post_height', res_post_height);
$.cookie('map_start_y_pos',map_height_position);
window.location.reload(true);